package com.yunkss.eftool.crypto.params;

import org.bouncycastle.crypto.engines.SM2Engine;
import org.bouncycastle.jce.provider.BouncyCastleProvider;

import java.security.Security;

/**
 * @author csx
 * @date 2022/2/18 8:49
 * @desc
 */

public class SmProvider {
    protected static final SM2Engine.Mode DEFAULT_MODE;

    public SmProvider() {
    }

    static {
        Security.addProvider(new BouncyCastleProvider());
        DEFAULT_MODE = SM2Engine.Mode.C1C3C2;
    }
}
